
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="__HOME_CSS__/newdsn/css/jquery-ui.css">
<link rel="stylesheet" href="__HOME_CSS__/newdsn/css/admin.css">
<script type="text/javascript" src="__HOME_JS__/js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="__HOME_JS__/js/jquery-ui/jquery-ui.js"></script>
<script type="text/javascript" src="__HOME_JS__/js/laydate/laydate.min.js"></script>
<script type="text/javascript" src="__HOME_JS__/js/dialog.js"></script>
<script type="text/javascript" src="__HOME_CSS__/newdsn/js/cash/admin_content.js"></script>
<script type="text/javascript" src="__HOME_JS__/js/libs.js"></script>
<script type="text/javascript" src="__HOME_CSS__/newdsn/js/cash/common.js"></script>
<script type="text/javascript" src="__HOME_CSS__/newdsn/js/cash/index.js"></script>
<script type="text/javascript" src="__HOME_CSS__/newdsn/js/cash/home.js"></script>
</head>
<body id="bodyid" class="laydate_body skin_blue">
<div class="bannercontainer">
  <div class="banner">
    <div class="avatar"></div>
    <div class="text1">
      <script language="javaScript">
        now = new Date(), hour = now.getHours()
        if (hour < 6) {
          document.write("凌晨好")
        } else if (hour < 9) {
          document.write("早上好")
        } else if (hour < 12) {
          document.write("上午好")
        } else if (hour < 14) {
          document.write("中午好")
        } else if (hour < 17) {
          document.write("下午好")
        } else if (hour < 19) {
          document.write("傍晚好")
        } else if (hour < 22) {
          document.write("晚上好")
        } else {
          document.write("夜里好")
        }
        $(function() {
        //设置当前页菜单默认值
        var curLocation = location.href.split("/");
        var curPageName = curLocation.slice(curLocation.length-1, curLocation.length).toString(String).split(".").slice(0, 1).toString(String).toLowerCase().split("?")[0];
        var webMenu = $(".subnavigation div");
        switch(curPageName){
          case "":        webMenu.eq(0).addClass("subitmactive");webMenu.eq(3).addClass("arrow1");break;
          case "deposit":     webMenu.eq(0).addClass("subitmactive");webMenu.eq(3).addClass("arrow1");break;
          case "withdrawal":    webMenu.eq(1).addClass("subitmactive");webMenu.eq(3).addClass("arrow2");break;
          case "transfer":    webMenu.eq(2).addClass("subitmactive");webMenu.eq(3).addClass("arrow3");break;
        }
        })
      </script>
      ,<span class="blue">{$info.member_name}</span>
    </div>
    <div class="text2">
      最后登录：<?php echo date('Y-m-d H:i:s',$info['last_login_time'])?><br> 
    </div>
    <div class="text3">欢迎来到金至尊娱乐，我们更专注彩票，博彩乐趣都在这里。</div>
    <div class="subnavigation">
      <div class="subitm " onClick="location.href='deposit'">充值</div>
      <div class="subitm" onClick="location.href='withdrawal'">提款</div>
      <div class="subitm subitmlast subitmactive" onClick="location.href='transfer'">交易记录</div>
      <div class="arrow1"></div>
    </div>

    <div class="showamount">
      <div class="saitm1 gradientbg">中心钱包</div>
      <div class="saitm2 gradientbg pink"><span class="balanceCount">{$info.member_money}</span> | <span class="freezeCount">{$info.member_f_money}</span></div>
      <div class="refresh" onclick="location.reload()"></div>

    </div>
  </div>
</div>
<script type="text/javascript" src="__HOME_CSS__/newdsn/js/cash/loadAccount.js"></script> <div class="rightpanel rw1">
    <div class="contentcontainer">
      <div class="row">
        <div class="col1 ">交易类型：</div>
        <div class="col2">
          <div class="textcontainer">
            <select name="transtype" id="transtype" class="province floatleft select1">
              <option value="-1"  <?php if($type=='-1'||$type==''){?>selected="selected"<?php }?>>全部</option>
              <option value="1" <?php if($type==1){?>selected="selected"<?php }?>>充值</option>
              <option value="2" <?php if($type==2){?>selected="selected"<?php }?>>提款</option>
            </select> 状态： <select name="accept" id="accept" class="province floatleft  select1">
              <option value="-1"  <?php if($status=='-1'||$status==''){?>selected="selected"<?php }?>>全部</option>
              <option value="0" <?php if($status==0){?>selected="selected"<?php }?>>未处理</option>
              <option value="1" <?php if($status==1){?>selected="selected"<?php }?>>成功</option>
            
            
            </select>
          </div>

          <div class="textcontainer">
            <div class="col1">起止日期：</div>
            <input id="begin" class="textbox2 laydate-icon" style="width: 100px; height: 29px;"
              value="<?php echo $begin?>" type="text"
              onclick="laydate({istime: true, format: 'YYYY-MM-DD'})"> <input id="end" class="textbox2 laydate-icon"
              style="width: 100px; margin-left: 10px; height: 29px;" value="<?php echo $end?>"
              type="text" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})">
          </div>
          <div class="rightfrm">
           
            <div class="textcontainer">
              
              <div class="textboxicon">
                <button type="button" class="frmbtn" onclick="queryTran();">搜索</button>
              </div>
            </div>
          </div>

        </div>
      </div>
      <div class="mt4">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="borderblue">
          <thead>
            <tr class="borderbtmblue bluetbl">
              <td style="width: 10%">时间</td>
              <td style="width: 8%">交易类型</td>
              <td style="width: 8%">金额</td>
              <td style="width: 6%">手续费</td>
              <td style="width: 30%">交易描述</td>
              <td style="width: 10%">备注</td>
              <td style="width: 6%">状态</td>
              <td style="width: 6%">详情</td>
              
            </tr>
          </thead>
          <tbody>
             <foreach name="list" item="vo">
            <tr class="borderbtmgrey">
              <td class="algleft"><?php echo date('Y-m-d H:i:s',$vo['add_time'])?></td>
              <td> <?php if($vo['type']==1){?>充值 <?php }else{?>提款<?php }?> </td>
              <td>{$vo.money}</td>
              <td>{$vo.poundage}</td>
              <td class="algleft"><?php if($vo['type']==1){?>存入 <?php echo $vo['money'];?> <?php }else{?><?php echo $vo['desc'];?><?php }?> </td>
              <td>{$vo.remark}</td>
              <td><?php if($vo['status']==1){?>成功 <?php }else{?>未处理<?php }?></td>
              <td><a onclick="dialog.url('交易详细',630,500,'/index.php/payment/detailtrans?id={$vo.id}');" href="javascript:;">详情</a></td>
              
            </tr>
           </foreach>
          
             

            <tr>
              <td colspan="8"><div class="page_info">
{$page}
</div>
</td>
            </tr>

          </tbody>
        </table>

      </div>

    </div>
<script>
function queryTran(){
var a="transfer?";a+="begin="+$("#begin").val()+"&end="+$("#end").val();a+="&transtype="+$("#transtype").val()+"&accept="+$("#accept").val();a+="&keyword="+$("#keyword").val();location.href=a};

</script>

  </div>
</body>
</html>